///////////////////////////////////////////////////////////////////////////////
//
// Licensed under the MIT License
//
// Copyright (c) 2010 Chris Colinsky
// All Rights Reserved
//
// version	0.5
// http://code.google.com/p/sugarcookie/
// http://code.google.com/p/sugarcookie/wiki/License
//
////////////////////////////////////////////////////////////////////////////////

package sugarcookie.media {
	import sugarcookie.utils.IObservable;
	
	public interface IVideoSource extends IObservable {
		function get isStreaming():Boolean;
		function get isPlaying():Boolean;
		function get isPaused():Boolean;
		function get videoDur():Number;
		function get currTime():Number;
		
		function get volume():Number;
		function set volume(value:Number):void;
		
		function get source():String;
		function set source(value:String):void;
		
		function connect():void;
		function play(start:int=0,len:int=-1,reset:int=1):void;
		function seek(_offset:Number):void;
		function pause():void;
		function resume():void;
		function close():void;
	}
}